{% if perms.flatpages.change_flatpage %}
    <div class="title-line-action">
        [<a href="{{ url('admin:flatpages_flatpage_change', flatpage.id) }}">{{ _('Edit') }}</a>]
    </div>
{% endif %}